// component/course-card/course-card.js
Component({
  /**
   * 组件的属性列表
   */
  properties: {
    mode3:{type:Object}
  },

  /**
   * 组件的初始数据
   */
  data: {
    jiantou:"../course-card-image/形状 1 副本 5.png",
    course_name:"《智慧女性》研修班",
    courseBJ:"../course-card-image/圆角矩形 7 拷贝.png",
    daoshi_image:"../course-card-image/组 33_2.png",
    daoshi_name:"王学平",
    daoshi_jieshao:"个人成长导师\n企业成长研究专家",
    course_xinxi:"期数：共10期\n费用：1980元/期",
    BM_image:"../course-card-image/圆角矩形 10.png",
    BM_text:"我要报名>",
    daoshizhang:"../course-card-image/章.png",
  },

  /**
   * 组件的方法列表
   */
  methods: {
    toActivity:function(e){
      var data = e.currentTarget.dataset
      console.log(data)
      wx.navigateTo({
        url: '/pages/action/detail/detail?id='+data.id,
      })     
  },
  }
})
